package com.aaa.front.dao;

import com.aaa.front.entity.Address;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * @ fileName: 登陆用户信息
 * (Address)表控制层
 * @ description:
 * @ fileName: 李江波
 * @ createTime: 2023-06-25 19:14:41
 * @ version:1.0.0
 */
public interface AddressDao extends BaseMapper<Address> {

    /**
     * 修改所有数据
     *
     * @param addressId 实体对象
     * @return 修改结果
     */
    int updateDefault( Integer addressId);

    IPage<Address> queryAddressCar(Page<Address> page, QueryWrapper queryWrapper);
}

